function MainController($scope,$location){
	$scope.name = "Raymond Ottun";
	
	$scope.toHome = function(){
		$location.path("/");
	}

	$scope.toGallery = function(){
		$location.path("/gallery");
	}

	$scope.toInk = function(){
		$location.path("/gallery/ink");
	}

	$scope.toOil = function(){
		$location.path("/gallery/oil");
	}

	$scope.toPastel = function(){
		$location.path("/gallery/pastel");
	}

	$scope.toWatercolor = function(){
		$location.path("/gallery/watercolor");
	}

	$scope.toAbout = function(){
		$location.path("/about");	
	}

	$scope.categories = [
		{id:"ink", name:"Ink"},
		{id:"oil", name:"Oil"},
		{id:"pastel", name:"Pastel"},
		{id:"watercolor", name:"watercolor"}
	]

	// $scope.gallery = [
	// 	{id:"mad-men", name:"Mad men", url:"data/mad-men.jpeg", category: "oil", price:"200"},
	// 	{id:"ophelia", name:"Ophelia", url:"data/ophelia.jpeg", category: "oil", price:"310"},
	// 	{id:"lady", name:"Lady", url:"data/product-03.jpeg", category: "pastels", price:"835"},
	// 	{id:"the-great-gatsby", name:"The Great Gatsby", url:"data/the-great-gatsby.jpeg", category: "watercolor", price:"1000"},
	// 	{id:"whiskey-sour", name:"Whiskey Sour", url:"data/whiskey-sour.jpeg", category: "watercolor", price:"85"}
	// ]

	$scope.gallery = [
		{id:"bedouin", name:"Bedouin", url:"images/bedouin.jpg", category:"pastel", price:"400"},
		{id:"mercy", name:"Mercy", url:"images/mercy.jpg", category:"pastel", price:"400"},
		{id:"the-thinker", name:"The Thinker", url:"images/the-thinker.jpg", category:"pastel", price:"520"},
		{id:"lady-relaxing", name:"Lady relaxing", url:"images/lady-relaxing.jpg", category:"pastel", price:"370"},
		{id:"warmth", name:"Warmth", url:"images/warmth.jpg", category:"pastel", price:"555"},
		{id:"sitting-profile", name:"Sitting profile", url:"images/sitting-profile.jpg", category:"pastel", price:"770"},

	]
}


function GalleryController($scope, $location){

	$scope.showProduct = function(itemIndex){
		$location.path("/detail/"+itemIndex);
	}
}

function DetailController($scope,$routeParams){
	$scope.product = $scope.gallery[$routeParams.productId];
	console.log("Detailed prodcut");
}

function CategoryController($scope, $location){

}

function AboutController($scope, $location){


}

function HomeController($scope, $location){
	
}

function ProductController($scope, $location){

}